package com.meishij.customerview.cityindex;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.VideoView;

/**
 * Created by Administrator on 2016/10/16.
 * 我是youngKaka 我的心愿是世界和平
 */

public class Find_Video_View extends VideoView {

    public Find_Video_View(Context context) {
        this(context, null);
    }

    public Find_Video_View(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public Find_Video_View(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        super.onMeasure(widthMeasureSpec, heightMeasureSpec);
        int widthsize = MeasureSpec.getSize(widthMeasureSpec);
        int heightsize = MeasureSpec.getSize(heightMeasureSpec);
        setMeasuredDimension(widthsize, heightsize);
    }
}
